import java.math.*;

public class ConstGate implements Gate{

    public BigInteger share;

    public int ID;

    public ConstGate(int ID, BigInteger share){
        this.ID = ID;
        this.share = share;
    }    

    public BigInteger getShare(){
        return share;
    }
    
    public void setShare(BigInteger share){
        this.share = share;
    }

    public int getID(){
        return ID;
    }

    public ConstGate copy(){
        ConstGate copy = new ConstGate(ID, share);
        return copy;
    }

}